﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace huaguwang.virtualWeb.video
{
    public partial class video_play : System.Web.UI.Page
    {
        private readonly D_T_Video_Exp dal = new D_T_Video_Exp();
        private int _id = 0;
        protected void Page_Load(object sender, EventArgs e)
        {

            _id = Request.Params["sid"].Exp_IntTryParse();
            var model = dal.GetModel_Page(_id);
            model = model.Exp_Show(10, 10, 60, "地址１", "地址２", 1);

            //var list = model.Exp_ToList();
            //this.Repeater_HG_navigation.DataSource = list;
            //this.Repeater_HG_navigation.DataBind();
            this.RepeaterExp1.DataBindModel(model);

            this.paly_explain1.M_Model = model;

            var list_Son = dal.GetModel_List(_id);
            //this.Repeater_HG1.DataSource = list_Son;
            //this.Repeater_HG1.DataBind();
            this.RepeaterExp2.DataBindList(list_Son);

        }
    }
}
